﻿using System;
using System.Text;

namespace MLog.Helpers {
    public static class ExceptionUtils {
        public static string Dump(Exception exception) {
            var sb = new StringBuilder();
            sb.AppendLine(exception.Message);
            sb.AppendLine(exception.StackTrace);
            return sb.ToString();
        }
    }
}